A. ^pat
B. $pat
C. pat$
D. pat^
Advertisement
Related Mcqs:
- Which symbol will be used with grep command to match the pattern pat at the end of a line ?
- A. ^pat B. $pat C. pat$ D. pat^...
- Which symbol is used to separate more than one command in the same command line ?
- A. $ B. # C. : D. ;...
- Which option will be used with ps command to slow the entire command line of the process being run ?
- A. -4 B. -f C. -1 D. -2...
- What command is used with vi editor to search a pattern in the forward direction ?
- A. ?? B. // C. ? D. /...
- Which command is used with vi editor to search a pattern in the forward direction ?
- A. / B. ? C. // D. ??...
- What command is used with vi editor to move back to the beginning of a word ?
- A. w B. e C. a D. b...
- Which command is used to change directory to the name beginning with a ‘p’ ?
- A. cd p B. cd p? C. cd p* D. cd [p]...
- Which command is used to concatenate all files beginning with the string ’emp’ and followed by a non-numeric characters ?
- A. cat emp[!0-9] B. more [emp][!0-9] C. cat emp[x-z] D. cat emp[a-z]...
- Which command is used to change directory to the name beginning with a ‘p’ ?
- A. cd p B. cd p? C. cd p* D. cd [p]...
- Which option is used with rm command to make the command prompt the user with each filename and a ?, before acting on it_________________?
- A. -r B. -x C. -i D. -1...
Advertisement